package com.maben.easyui.mapper;

import com.maben.easyui.controller.vo.UserVo;
import com.maben.easyui.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    void insert(User user)throws Exception;

    User queryUserById(@Param("id") String id)throws Exception;

    List<UserVo> queryUserListContainPage(UserVo userVo)throws Exception;

    void saveUser(UserVo userVo);

    void updateUser(UserVo userVo)throws Exception;

    void removeUser(Integer id)throws Exception;

    Integer queryUserCount(UserVo userVo)throws Exception;
}
